import '../../../../../utils/util.dart';
import 'state.dart';

class ModifyPhoneController extends GetxController {
  final state = ModifyPhoneState();
  @override
  void onInit() {
    super.onInit();
    state.phone = Get.arguments['phone'];
  }

  void nextStep() {
    Get.offAndToNamed(RouterPath.modify_phone2,
        arguments: {'phone': state.phone.value});
  }
}
